<?php
/*
* Copyright (c) 2010 by Cediti
*
* You may distribute under the terms of either the GNU Lesser General
* Public License or the new BSD License, as specified in the README file.
*/

interface Cmis_Services_Discovery extends Cmis_Services_Interface
{
	/**
	 * @param Cmis_Repository_Id repositoryId The identifier for the Repository
	 * @param string statement CMIS query to be executed
	 * @param bool searchAllVersions //  If the Repository does not support the optional capabilityAllVersionsSearchable capability, then this parameter value MUST be set to FALSE
     * @param Enum includeRelationships // If the SELECT clause contains properties from more than one table, then the value of this parameter MUST be 'none'.
     * @param string renditionFilter
	 * @param bool includeAllowableActions //If the SELECT clause contains properties from more than one table, then the value of this parameter MUST be 'FALSE'
	 * @param int maxItems
	 * @param int skipCount
	 * @return array[Cmis_Entry]
	 * @see http://docs.oasis-open.org/cmis/CMIS/v1.0/cd06/cmis-spec-v1.0.html#_Toc243905470
	 */
	public function query(Cmis_Repository_Id $repositoryId, $statement, $searchAllVersions = false, $includeRelationships = null, $renditionFilter = null, $includeAllowableActions = false, $maxItems = null, $skipCount = null);

	public function getContentChanges();
}

# EOF
